package com.cmos.dao;

import com.cmos.entity.UserRole;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserRoleDao extends Mapper<UserRole> {
    int insertUserRole(@Param("userRoles") List<UserRole> userRoles);

    int deleteUserRole(@Param("userId") String userId, @Param("ids") List<String> ids);
}
